package com.whxy02.tolearn.app.service;


import java.util.List;

public interface PublicService<T> {

    public List<T> getAll() throws Exception;

    public T getById(Integer id) throws Exception;

    public int save(T t) throws Exception;

    public int removeById(Integer id) throws Exception;

    public int change(T t) throws Exception;

}
